package com.pku.control;

/**
 * [CPU]
 * {"id": 446, "cpu_name": "Intel(R)Core(TM)i7-10510U CPU@1.80GHz", "utilization": "25.60", "logical_processors": 8,
 * "speed": "400.00", "base_speed": "2301.00", "processes": 270, "uptimes": "2020-10-31 11:59:59", "kernels": 4,
 * "handles": 122201, "threads": 3656, "mac_code": "b89a2a6a20dd"}
 * [说明]
 * id:主键、自增，基本用不上
 * mac_code:mac号码(机器的唯一码),整个系统全靠此码进行关联
 * cpu_name:CPU的名称
 * utilization:利用率
 * logical_processors:逻辑处理器数
 * speed:速度
 * base_speed:基准速度
 * processes:进程数
 * uptimes:上次开机启动时间
 * kernels:内核数
 * handles:句柄数
 * threads:线程数
 */
public class CpuInfo {
    private String id;
    private String cpu_name;
    private String utilization;
    private String logical_processors;
    private String speed;
    private String base_speed;
    private String processes;
    private String uptimes;
    private String kernels;
    private String handles;
    private String threads;
    private String mac_code;

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getCpu_name() {
        return cpu_name;
    }

    public void setCpu_name(String cpu_name) {
        this.cpu_name = cpu_name;
    }

    public String getUtilization() {
        return utilization;
    }

    public void setUtilization(String utilization) {
        this.utilization = utilization;
    }

    public String getLogical_processors() {
        return logical_processors;
    }

    public void setLogical_processors(String logical_processors) {
        this.logical_processors = logical_processors;
    }

    public String getSpeed() {
        return speed;
    }

    public void setSpeed(String speed) {
        this.speed = speed;
    }

    public String getBase_speed() {
        return base_speed;
    }

    public void setBase_speed(String base_speed) {
        this.base_speed = base_speed;
    }

    public String getProcesses() {
        return processes;
    }

    public void setProcesses(String processes) {
        this.processes = processes;
    }

    public String getUptimes() {
        return uptimes;
    }

    public void setUptimes(String uptimes) {
        this.uptimes = uptimes;
    }

    public String getKernels() {
        return kernels;
    }

    public void setKernels(String kernels) {
        this.kernels = kernels;
    }

    public String getHandles() {
        return handles;
    }

    public void setHandles(String handles) {
        this.handles = handles;
    }

    public String getThreads() {
        return threads;
    }

    public void setThreads(String threads) {
        this.threads = threads;
    }

    public String getMac_code() {
        return mac_code;
    }

    public void setMac_code(String mac_code) {
        this.mac_code = mac_code;
    }
}
